//
//  OtherShopNoticeCell.swift
//  iModern
//
//  Created by 立雄 王 on 15/8/31.
//  Copyright (c) 2015年 com.starlooking. All rights reserved.
//

import UIKit

class OtherShopNoticeCell: UITableViewCell {

    @IBOutlet var label: UILabel!
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
    func setData(data: NSDictionary)
    {
        label.textAlignment=NSTextAlignment.Center
        let shopNotice = data["shopNotice"] as? String
        if shopNotice == nil
        {
            label.text = "你看到的不只是一件商品更多的是我们的至诚之心"
        }
        else
        {
            label.text = shopNotice
        }
    }
}
